<?php
/**
 * 员工工资验证器
 */

namespace app\common\validate;

class BasicSalaryValidate extends Validate
{
    protected $rule = [
        'staff_id|员工' => 'require',
    ];

    protected $message = [
        'staff_id.require' => '员工不能为空',

    ];

    protected $scene = [
        'add' => ['staff_id','department_id'],
        'edit' => [],

    ];


}
